#include<stdio.h>
int main()
{
	int t,a,b,c;
	scanf("%d",&t);getchar();
	while(t--)
	{
		scanf("%d %d %d",&a,&b,&c);getchar();
		if(!(c%2))
			printf("Yes\n");
		else if(!(b%2))
			printf("Yes\n");
		else if(!(a%2))
			printf("Yes\n");
		else
			printf("No\n");
	}
	return 0;
}
